<?php
// <copyright file="AuthenticationType.cs" company="NQtec">
// Copyright (c) 2008, 2009 All Right Reserved, http://www.dqer.com/
// Copyright (c) 2008, 2009 All Right Reserved, http://www.nqtec.com/
//
// This source is part of the DQER library that released under the LGPL.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// </copyright>
// <author>Victor Gatkov</author>
// <email>v.gatkov@nqtec.com</email>
// <email>info@dqer.com</email>
// <date>2008-09-11</date>
// <summary>Contains a base, abstract class for an AuthorisationPolicyProvider</summary>

define('PGID','xb');           // set page name as PaGeID
define('PGTP','srv');         // set page type as PaGeTyPe render/form/com/etc..
define('ROOT_PATH','../../../');        // may need to change path to site root from here
define('SRC_PATH',ROOT_PATH.'_');
define('IN_DQER_003311',true);

//define('HDR_CONTYP','text');
define('MOD_RECON',true); // use this to rearange incl mods
$mod_s['active'] = array('php','pgdt','hdr','session'); //mysql

require_once(SRC_PATH."/index.php");

$ct = md5(uniqid(rand(), true));

$session->set_xb($ct);
$session->set_xbts();

echo $ct; // replace it with actual cookie???

?>
